#ifndef _GWLIB_GW_STATFS_H_
#define _GWLIB_GW_STATFS_H_

#include <stdint.h>
#include <time.h>
// #include <linux/unistd.h>

namespace dicom {

struct GwToken;

struct GwSpaceInfo {
  int64_t allSpace;
  int64_t usedSpace;
  int64_t allNonFileSpace;
  int64_t singleNonFileSize;
  // time_t regTime;

  int64_t cacheTotalSpace;
  int64_t cacheUsedSpace;
  int64_t cacheRemovableSpacek;
};

int GetGwSpaceInfo(GwToken* token,
                   GwSpaceInfo* info);

};

#endif // _GWLIB_GW_STATFS_H_
